class Complex {
private:
double real;  //atribute
double imag;  //atribute

public:  //are acces oricine
Complex();  //constructor implicit
Complex(double real,double imag);  //constructor explicit
//Complex(Complex& c);   //constructor de copiere
//~Complex();  //destructor

double getReal();   //accesor
double getImag();

void setReal(double re);   //modificator
void setImag(double im);

Complex operator+(Complex c);
Complex operator+(double d);
Complex operator-(Complex c);
Complex operator-(double d);
Complex operator*(Complex c);
Complex operator*(double d);
Complex operator/(Complex c);
Complex operator/(double d);
Complex operator^(Complex c);
Complex operator^(double d);
Complex sqrt();
Complex rt(int g);

bool operator<(Complex c);
bool operator<(double d);
bool operator<=(Complex c);
bool operator<=(double d);
bool operator>(Complex c);
bool operator>(double d);
bool operator>=(Complex c);
bool operator>=(double d);

Complex operator++();
Complex operator--();
};   //sa nu uitam de punct si virgula altfel o sa ne manance sfintisorii :)
